<?php defined('TSTP_VERSION') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Test_Types
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: zero_double.tstp.php 179 2009-03-07 11:34:23Z molotsoft@gmail.com $
* @link $HeadURL: http://test-types.googlecode.com/svn/tags/2.0.1/types/double/zero_double.tstp.php $
*/


define('TSTP_ZERO_DOUBLE', 0.0);

function tstp_zero_double($var) {
	return is_double($var) && ($var === TSTP_ZERO_DOUBLE);
}

define('TSTP_ZDOUBLE', TSTP_ZERO_DOUBLE);
define('TSTP_ZD', TSTP_ZERO_DOUBLE);

function tstp_zdouble($var) { return tstp_zero_double($var); }
function tstp_zd($var) { return tstp_zero_double($var); }


?>